<template>
  <div>
    <van-list v-model="loading" :finished="finished" finished-text="没有更多了">
      <van-cell
        v-for="(item, index) in searchProductLish"
        :key="index"
        :title="item"
        @click="cellClick(item)"
      />
    </van-list>
  </div>
</template>

<script>
export default {
  data() {
    return {
      loading: false,
      finished: true,
    };
  },
  props: ["searchProductLish"],
  methods:{
    //点击获取快速选择列表中的数据,发送请求
    cellClick(value){
      console.log(value);
      this.$emit("cellClick",value)
    }
  }
};
</script>
 
<style lang = "less" scoped>
</style>